package com.health.db.mapper;

import java.util.List;

import com.health.db.model.UserPatient;
import com.health.db.model.UserPatientExample;

public interface UserPatientMapper {
    long countByExample(UserPatientExample example);

    int deleteByExample(UserPatientExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserPatient record);

    int insertSelective(UserPatient record);

    List<UserPatient> selectByExample(UserPatientExample example);

    UserPatient selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserPatient record);

    int updateByPrimaryKey(UserPatient record);
    
    int updateByUserIdPatientId(UserPatient record);
}